*{
    margin: 0;
    padding: 0;
}


body{
    height: 100vh;
    display: flex;
}

h1 {
    background: none;
    text-align: center;
    margin: 20px 0;
    color: black;
}

.header{
    background: #d3c0c0;
    width: 100%;
    height: 100%;

}


.container{
    margin: 0 auto;
    border: 10px solid #38ada9;
    width: 80%;
    background: white;
    border-radius: 10px;

}

.table{
    border-top: 2px solid black;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}


.thead{
    border: 1px solid blue;
}


.table tbody tr{
    width: 100%;
}

.table tr td{
    padding-left: 4px;
    border: 1px solid black;
    border-collapse: collapse;

}

.count{
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 1px solid #ccc;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
}

.count-num{
    margin: 0 10px;
    display: inline-block;
    width: 40px;
    height: 25px;
    text-align: center;
}


.footer{
    /*height: 65px;*/
    /*background-color: #b2bec3;*/
    /*margin-top: 5px;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: space-between;*/
    /*position: fixed;*/
    /*bottom: 0;*/

    display: flex;
    justify-content: space-between;
    align-items: center;
    bottom: 0;
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: whitesmoke;
    margin-left: 10vw;
    width: 80%;
}

.footer a{
    font-weight: bold;
    color: lightgreen;
    background: none;
    text-decoration: none;
    transition: 0.2s;
}

.footer a:hover{
    color: rgb(13,84,81);
}

.footer-left{
    display: flex;
    align-items: center;
    color: #39987c;
    font-size: 20px;
    cursor: pointer;
    margin-left: 2vw;
}

.footer-right{
    height: 100%;
    display: flex;
    align-items: center;
}


.clear-cart{
    margin-right: 20px;
}


.total-price{
    margin-left: 20px;
}

.return_index{
    /*相对定位*/
    margin-left: 80%;
    position: absolute;
    margin-top: 40px;
    width: 120px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 24px;
    color: white;
    /*渐变背景*/
    background: black;
    /*背景渐变色大小*/
    background-size: 400px;
    /*圆角*/
    border-radius: 10px;
    z-index: 1;
    transition: 0.5s;
}

.return_index:hover{
    background: orange;
}

.pay{
    height: 50px;
    line-height: 50px;
    background-color: #0984e3;
    color: #0984e3;
    padding: 0 20px;
    margin-left: 20px;
    cursor: pointer;
}

.pay:hover{
    background-color: red;
}



.cart_img{
    float: left;
    width: 120px;
    height: 100px;
    border: 5px solid wheat;
    margin: 5px;
}



#titleCart{
    font-size: 40px;
    text-align: center;
    margin: 0 auto;
    opacity: 0.5;
}